<%@ page language="java" contentType="text/html; charset=utf8" pageEncoding="utf8"%>

<br/>
<table border="0" width="90%" cellspacing="0" cellpadding="0">
	<tr>
		<td width="190px" height="30px"></td>
		<td rowspan="6">
			<table border="0" width="100%" height="450" cellspacing="0" cellpadding="0">
				<tr>
					<td class="box_top_left"></td>
					<td class="box_top_centr"></td>
					<td class="box_top_right"></td>
				</tr>
				<tr>
					<td class="box_left">&nbsp;</td>
					<td bgcolor="f8be93" valign="top" align="center">
					

<% 
	String urlpage="/WEB-INF/jsp/Admin/admininfo.jsp";
	String action = request.getParameter("action");
								
	if (action!=null)
	{
		if( action.equals("userlist") )
		{
			urlpage="/WEB-INF/jsp/Admin/userlist.jsp";
		}
										
		if( action.equals("useredit") )
		{
			urlpage="/WEB-INF/jsp/Admin/useredit.jsp";
		}
										
		if( action.equals("finduser") )
		{
			urlpage="/WEB-INF/jsp/Admin/userfind.jsp";
		}	
		
		if( action.equals("adduser") )
		{
			urlpage="/WEB-INF/jsp/Admin/addUser.jsp";
		}
		
		if( action.equals("deluser") )
		{
			urlpage="/WEB-INF/jsp/Admin/delUser.jsp";
		}
	}
									
%> 
<jsp:include page='<%= urlpage %>' />

					</td>
					<td class="box_right"></td>
				</tr>
				<tr>
					<td class="box_bottom_left"></td>
					<td class="box_bottom_centr"></td>
					<td class="box_bottom_right"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td height=35px>
			<p class="admin_menu">
				<a style="color: #000000" href="/CoffiSweetDreams/managerusers.htm?action=userlist">Список пользователей</a>
			</p>
		</td>
	</tr>
	<tr>
		<td height=35px>
			<p class="admin_menu">
				<a style="color: #000000" href="/CoffiSweetDreams/managerusers.htm?action=finduser">Поиск пользователя</a>
			</p>
		</td>
	</tr>
	<tr>
		<td height=35px>
			<p class="admin_menu">
				<a style="color: #000000" href="/CoffiSweetDreams/managerusers.htm?action=adduser">Добавить пользователя</a>
			</p>
		</td>
	</tr>
	<tr>
		<td height="300px"></td>
	</tr>
</table>